﻿using System.Collections.Generic;
using VotesResults.Models;

namespace VotesResults.Daos
{
    public interface IGroupDao
    {
        List<Group> Load();
        List<GroupModel> LoadVoted(int voteId);

        Group Get(int id);
        void Add(Group group);
        void Update(Group group);
        void Remove(int id);  
    }
}